#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"
#include "download_data.h"
#include <QtDeclarative/QDeclarativeItem>
#include <QDeclarativeContext>

Q_DECL_EXPORT int main(int argc, char *argv[])
{
    QScopedPointer<QApplication> app(createApplication(argc, argv));

    QmlApplicationViewer viewer;
    Download_data m_downData;

    viewer.setMainQmlFile(QLatin1String("qml/Free/main.qml"));
    viewer.rootContext()->setContextProperty("m_downData", &m_downData);
    viewer.showExpanded();

    return app->exec();
}
